

let lackGemConf = {

    text: 'TID_LACK_GEM_ASK_BUY',
    
    buttons: [
        {
            text: 'TID_SURE',
            click: ()=> 
            {
                let vm = require('ViewMan').share()

                vm.push('ShopView')

                return true
            }
        }
    ]
}

let lackGoldConf = {

    text: 'TID_LACK_GOLD_ASK',

    buttons: [
        {
            text: 'TID_SURE',
            click: ()=> 
            {
                let vm = require('ViewMan').share()

                vm.push('GoldShopView')

                return true
            }
        }
    ]
}

module.exports = {

    lackGem()
    {
        require('AlertDialog')(lackGemConf)
    },

    lackGold()
    {
        require('AlertDialog')(lackGoldConf)
    }
}

